package com.dongjiantong.biz.service;

import com.dongjiantong.biz.model.EarMarkLife;
import com.dongjiantong.mybatis.BaseService;

import java.util.List;
import java.util.Map;

/**
 * Created by ThinkPad on 2017/11/14.
 */
public interface EarMarkLifeWriteService extends BaseService<EarMarkLife> {

    /**
     * 通过单据id查询
     * @param paramMapOfEarLifeQuery
     * @return
     */
    List<String> findListByBreedReportId(Map<String, Object> paramMapOfEarLifeQuery);

    /**
     * 通过关联单据id和type删除单据
     * @param paramMapOfEarLifeQuery
     */
    void deleteByReportIdAndType(Map<String, Object> paramMapOfEarLifeQuery);

    void updateMarks(Map<String, Object> map);
}
